#include <iostream>
#include "include.h"
#include "func.h"

int main(int argc, char *argv[]) {
    if (CPP_STANDARD >= 202002L) {
        std::cout << "CPP_STANDARD >= 202002L\n";
    }
    std::cout << "Hello, World! C++ Version = " << CPP_STANDARD << std::endl;
#ifdef IS_DBG
    char **newArgv;
    std::cout << "argc=" << argc << std::endl;
    for (int i = 0; i < argc; ++i) {
        std::cout << "arg[" << i << "]=" << argv[i] << "\n";
        if ( strcmp(argv[i], "-D") || strcmp(argv[i], "IS_DBG")) {
            continue;
        }
        newArgv[i] = argv[i];
    }
    func_test(argc, newArgv);
#else
    func_test(argc, argv);
#endif
    return 0;
}

